home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
dev
/
Monitor
/
Snoopy
/
Scripts
/
trackdisk.script
< prev
next >
Wrap
Text File
|
1993-12-21
|
2KB
|
34 lines
; this is an example scriptfile testing Snoopys device handling.
; It takes care of your floppys and tells you whats going on
pri=3
hide=Snoopy
include=offsets/devicesupport
device=td,trackdisk.device,$<IOTD_SIZE>
; note: all these DEVCMDs where built according to autodocs/trackdisk.doc
devcmd=td,CMD_CLEAR,,CMD_CLEAR
devcmd=td,CMD_READ,L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA,CMD_READ %ld bytes from $%lx to $%lx
devcmd=td,CMD_UPDATE,,CMD_UPDATE
devcmd=td,CMD_WRITE,L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA,CMD_WRITE %ld bytes from $%lx to $%lx
devcmd=td,TD_ADDCHANGEINT,L:IO_LENGTH/L:IO_DATA,TD_ADDCHANGEINT $%lx sized %ld
devcmd=td,TD_CHANGENUM,,TD_CHANGENUM
devcmd=td,TD_CHANGESTATE,,TD_CHANGESTATE
devcmd=td,TD_EJECT,L:IO_LENGTH,TD_EJECT %ld
devcmd=td,TD_FORMAT,L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA,TD_FORMAT %ld bytes from $%lx to $%lx
devcmd=td,ETD_FORMAT,L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA/L:IOTD_COUNT/L:IOTD_SECLABEL,ETD_FORMAT %ld bytes from $%lx to $%lx, count %ld, SecLabel $%lx
devcmd=td,TD_GETDRIVETYPE,,TD_GETDRIVETYPE
devcmd=td,TD_GETGEOMETRY,L:IO_LENGTH/L:IO_DATA,TD_GETGEOMETRY %ld bytes to $%lx
devcmd=td,TD_GETNUMTRACKS,,TD_GETNUMTRACKS
devcmd=td,TD_MOTOR,L:IO_LENGTH,TD_MOTOR %ld
devcmd=td,ETD_MOTOR,L:IO_LENGTH/L:IOTD_COUNT,ETD_MOTOR %ld, count %ld
devcmd=td,TD_PROTSTATUS,,TD_PROTSTATUS
devcmd=td,TD_RAWREAD,B:IO_FLAGS/L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA,TD_RAWREAD flags %02x, %ld bytes from $%lx to $%lx
devcmd=td,ETD_RAWREAD,B:IO_FLAGS/L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA/L:IOTD_COUNT,ETD_RAWREAD flags %02x, %ld bytes from $%lx to $%lx, count %ld
devcmd=td,TD_RAWWRITE,B:IO_FLAGS/L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA,TD_RAWWRITE flags %02x, %ld bytes from $%lx to $%lx
devcmd=td,ETD_RAWWRITE,B:IO_FLAGS/L:IO_LENGTH/L:IO_OFFSET/L:IO_DATA/L:IOTD_COUNT,ETD_RAWWRITE flags %02x, %ld bytes from $%lx to $%lx, count %ld
devcmd=td,TD_REMCHANGEINT,L:IO_LENGTH/L:IO_DATA,TD_REMCHANGEINT %ld bytes from $%lx
devcmd=td,TD_SEEK,L:IO_OFFSET,TD_SEEK offset %ld
devcmd=td,ETD_SEEK,L:IO_OFFSET/L:IOTD_COUNT,TD_SEEK offset %ld, count %ld